<%@taglib uri="/struts-tags" prefix = "s" %>
<%@ page language="java" import="java.sql.*,java.util.*"
	pageEncoding="utf-8"%>
	<%
		request.setCharacterEncoding("utf-8");
		response.setCharacterEncoding("utf-8");
		String temp1 = request.getParameter("recName");
		String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
 %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        function hedeall() {
//             document.getElementById("message_popup").style.display = "none";
//             document.getElementById("fade").style.display = "none";
            var t = window.parent;
            t.hedeall();
//             location.href = t;
//             t.headall();
            
        }

        function member_manged_menu() {
            document.getElementById("message_popup").style.display = "block";
            document.getElementById("fade").style.display ="block";
        }
        
        function init(){
        	   document.getElementById("message_popup").style.display = "block";
            document.getElementById("fade").style.display ="block";
        }
    </script>
    <style>

        .black_overlay {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: black;
/*             z-index: 500; */
            opacity: .30;
        }

        div.ui-widget-header {
            background: rgb(55,138,162);
            border: none;
        }

        div.ui-dialog .ui-dialog-title {
            color: white;
            font-size: 14px;
            font-weight: bold;
        }

        div.dlg_content {
            font-size: 13px;
        }
        div.dlg_content div.row span.title {
            font-weight: bold;
            margin-right: 6px;
        }

        textarea.ubm_textinput, select.ubm_textinput {
            margin: 0px 10px 0px 0px;
            border: 1px solid #BDC7D8;
        }

        div.dlg_content textarea {
            height: 80px;
            width: 560px;
            resize: none;
        }

        input.button{

            font-weight: bold;
        }

        input.button, input.button_small, input.button_user_action {
            border: 0px;
            color: white;
            cursor: pointer;
            background-color: rgb(255,159,30);
            vertical-align: middle;
            height: 24px;
            width: 58px;
        }

        input.ubm_textinput {
            height: 18px;
            width: 560px;
            line-height: 18px;
            margin-bottom: 0px;
            margin-left: 0px;
            margin-right: 10px;
            margin-top: 0px;
            padding-bottom: 5px;
            padding-left: 4px;
            padding-right: 4px;
            padding-top: 5px;
        }
        * {
            margin: 0px;
            padding: 0px;
            color: #555;
        }

        .ui-dialog .ui-dialog-content {
            position: relative;
            border: 0;
            padding-bottom: 6.6px;
            padding-left: 13.2px;
            padding-right: 13.2px;
            padding-top: 6.6px;
            background: white;
            overflow: auto;
            zoom: 1;
        }
        div.ui-widget {
            font-family: 微软雅黑,Arial,Helvetica,sans-serif;
        }

        .ui-draggable .ui-dialog-titlebar {
            cursor: move;
        }


        a.ui-dialog-titlebar-close {
            text-decoration: none;
        }

        span.ui-icon{
            float: right;
            margin-right: 5px;
        }
        .ui-dialog .ui-dialog-title {
            float: left;
            margin: .1em 16px 0em 0;

        }
    </style>
</head>
<body >
    <div class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable" id="message_popup" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-user_common_dlg" style="position:absolute; display:block;z-index: 1003; outline: 0px; height: auto; width: 600px; top: 200.5px; left: 372.5px;">
        <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix" style="overflow: hidden;">
            <span class="ui-dialog-title" id="ui-dialog-title-user_common_dlg" style="  margin-left: 12px;">发消息</span>
            <a href="#"  onclick="hedeall()" class="ui-dialog-titlebar-close ui-corner-all" role="button" fhzd_has_check="true">
                <span class="ui-icon ui-icon-closethick" >╳</span>
            </a>
        </div>
        
        
        <div style="width: auto; min-height: 104px; height: auto;" id="user_common_dlg" class="ui-dialog-content ui-widget-content" scrolltop="0" scrollleft="0">
            <form action="  <%=path %>/message/insert_message" method="post">
            <div class="dlg_content">
               <input type="hidden" value="<%=temp1 %>" name="recName" id="user_common_dlg_receiver_id">    
                <div class="row">
                    <span class="title">收信人:</span>
                    <br>    
                    <input class="ubm_textinput" disabled="disabled" style="width:560px;" size="100" maxlength="100" type="text" value="<%=temp1 %>" name="recName" id="user_common_dlg_receiver_nickname"/></div>
                    <div class="row">
                        <span class="title">留言内容(限255字):</span>
                        <br>    
                        <textarea class="ubm_textinput" size="255" maxlength="255" name="mess.content" id="user_common_dlg_content"></textarea>
                    </div>
                    <input id="user_common_dlg_submit_button" onclick="hedeall()" class="button"  name="yt3" type="submit" value="提交"></div> </form>
                </div>
            </div>
         
           <div id="fade" onclick="hedeall()"  class="black_overlay" style="display:block; width: 100%; position: absolute; height: 1344px;z-index:1002; background-color: black; opacity: .30;;"></div>
        </body>
        </html>